<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
    <center>
        <h2>修改</h2>
        <form th:action="@{update}" method="post" >
            <p>
                <label>花名</label>
                <input th:value="${f.fname}" name="fname">
                <input name="fid" th:value="${f.fid}" type="hidden">
            </p>
            <p>
                <label>别名</label>
                <input th:value="${f.asname}" name="asname">
            </p>
            <p>
                <label>科属</label>
                <input th:value="${f.property}" name="property">
            </p>
            <p>
                <label>价格</label>
                <input th:value="${f.price}" name="price">
            </p>
            <p>
                <label>产地</label>
                <input th:value="${f.address}" name="address">
            </p>
            <p>
                <input type="submit" value="修改">
            </p>
        </form>
    </center>

</body>
</html>